package com.pubinfo.passbook.common.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.pubinfo.passbook.common.entity.TRuleDiseasesType;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pubinfo.passbook.common.model.dto.rule.RuleDiseasesTypeParam;
import com.pubinfo.passbook.common.model.vo.rule.DiseasesTypeRelevanceVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Entity com.pubinfo.passbook.common.entity.TRuleDiseasesType
 */
public interface TRuleDiseasesTypeMapper extends BaseMapper<TRuleDiseasesType> {
  IPage<TRuleDiseasesType> selectDiseasesType(IPage<TRuleDiseasesType> iPage, @Param("param") RuleDiseasesTypeParam param);
  
  int deleteDistrictDiseases(String diseasesTypeId);
  
  List<DiseasesTypeRelevanceVo> selectDiseasesTypeRelevance(String diseasesTypeId);
}




